package br.com.cast.scc.pages;

import org.apache.wicket.markup.html.link.Link;
import org.apache.wicket.markup.html.WebPage;

import br.com.cast.scc.veiculo.CadastrarVeiculoPage;
import br.com.cast.scc.veiculo.ConsultaVeiculoIndexPage;

public class BasePage extends WebPage {
	private static final long serialVersionUID = 1L;

	public BasePage() {
		add(new Link("linkConsultarVeiculo") {
			private static final long serialVersionUID = 1L;

			@Override
			public void onClick() {

				setResponsePage(ConsultaVeiculoIndexPage.class);

			}

		});

	}
}
